﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Alcomether.Controlers.Setting;
using Microsoft.Phone.Controls;

namespace Alcomether
{
    public partial class MainPage : PhoneApplicationPage
    {

        private SettingsControler _sc = new SettingsControler();
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            _sc.NavigateToEventHandler += new EventHandler(_sc_NavigateToEventHandler);
            DataContext = _sc;
        }

        void _sc_NavigateToEventHandler(object sender, EventArgs e)
        {
            NavigationService.Navigate(new Uri("/Menu.xaml", UriKind.Relative));
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}